package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.UserRole;

public interface UserRoleMapper {

	public int deleteUserRoleById(long id);

	public UserRole selectUserRoleById(long id);

	public List<UserRole> selectUserRoleByMap(Map<String,Object> map);

	public List<UserRole> selectUserRole(UserRole userRole);

	public List<UserRole> selectAllUserRole();

	public int insertUserRole(UserRole userRole);

	public int updateUserRole(UserRole userRole);

	public int deleteUserRole(UserRole userRole);

	public int updateUserRoleByMap(Map<String,Object> map);

	public int deleteUserRoleByMap(Map<String,Object> map);
	public int getAllUserRoleCounts();
	public int getUserRoleCounts(UserRole userRole);
	public int getUserRoleCountsByMap(Map<String,Object> map);
}
